package com.ytxg.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Builder
@Data
public class BookInfoRespDto implements Serializable {


    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("小说名")
    private String bookName;

    private Long firstChapterId;

    @ApiModelProperty("类别ID")
    private Long categoryId;

    @ApiModelProperty("类别名")
    private String categoryName;

    @ApiModelProperty("小说封面地址")
    private String picUrl;

    @ApiModelProperty("作家id")
    private Long authorId;

    @ApiModelProperty("作家名")
    private String authorName;

    @ApiModelProperty("书籍描述")
    private String bookDesc;

    @ApiModelProperty("书籍状态;0-连载中 1-已完结")
    private Byte bookStatus;

    @ApiModelProperty("点击量")
    private Long visitCount;

    @ApiModelProperty("总字数")
    private Integer wordCount;

    @ApiModelProperty("评论数")
    private Integer commentCount;

    @ApiModelProperty("最新章节ID")
    private Long lastChapterId;



}
